package com.book.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("reader_info")
public class ReaderInto {
     @TableId("id")
    private Integer id;
     @TableField("username")
    private String  userName;
     @TableField("password")
    private String passWord;
     @TableField("realName")
    private String realName;
     @TableField("sex")
    private String sex;
     @TableField("birthday")
    private LocalDateTime birthday;
     @TableField("address")
    private String address;
     @TableField("tel")
    private String tel;
     @TableField("email")
    private String email;
     @TableField("registerDate")
    private LocalDateTime registerDate;
     @TableField("readerNumber")
    private String readerNumber;
}
